<template>
  <div class="layout">
    <div class="left">
      <router-link to="/layout/user">员工</router-link>
      <br />
      <router-link to="/layout/setting">公司设置</router-link>
    </div>
    <div class="right">
      <div class="top">上边导航栏</div>
      <div>
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>
<script>
export default {}
</script>
<style>
.layout {
  display: flex;
}
.left {
  background-color: #f00;
  height: 100vh;
}
.right {
  flex: 1;
}
.top {
  height: 30px;
  background-color: pink;
}
</style>
